package com.xy.biz.auth.service;

import com.xy.biz.auth.domain.req.GetTokenRequest;
import com.xy.biz.auth.domain.req.UserCodeLoginRequest;
import com.xy.biz.auth.domain.req.UserCodeRegisterRequest;
import com.xy.biz.uc.domain.req.SaveUserRequest;
import com.xy.lang.domain.Result;

public interface LogonService {

    Result<?> register(UserCodeRegisterRequest request);

    Result<String> login(UserCodeLoginRequest request);

    Result<String> getToken(GetTokenRequest request);

    Result<?> saveUser(SaveUserRequest request);
}
